//
//  UIButton+TouchEvent.m
//  03-UIResponder
//
//  Created by 王道林 on 16/7/18.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "UIButton+TouchEvent.h"

@implementation UIButton (TouchEvent)

// 事件将不会触发 , 因为一直不在内部,,可以让对应空间失去响应能力
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event
{
    return NO;
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
   // [super touchesBegan:touches withEvent:event];
    NSLog(@"%@---------%s", [self class], __FUNCTION__);
}

@end
